#ifndef __SI7006_H__
#define __SI7006_H__

#define GET_SERIAL  _IOR('j',0,int)
#define GET_FIRWARE  _IOR('j',1,int)
#define GET_TMP  _IOR('j',2,int)
#define GET_HUM  _IOR('j',3,int)
#define GET_XIN  _IOR('j',4,int)

#define SERIAL_ADDR 0xfcc9
#define FIRWARE_ADDR 0x84b8
#define TMP_ADDR 0xe3
#define HUM_ADDR 0xe5
#define XIN_ADDR 0x1f
#endif